package com.ruoyi.chapter.service.impl;

import com.ruoyi.chapter.mapper.UserChapterMapper;
import com.ruoyi.chapter.service.IUserChapterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Classname UserChapterServiceImpl
 * @Description
 * @Date 2025/11/13 17:36
 * @Created by 时光改变初心
 */
@Service
public class UserChapterServiceImpl implements IUserChapterService {
    @Autowired
    private UserChapterMapper userChapterMapper;

    @Override
    public List<Long> getCidsByUid(Long id) {
        List<Long> cids = userChapterMapper.getCidsByUid(id);
        return cids;
    }
}